#!/bin/bash
# Copyright © 2023 Jeffrey Cliff
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

WHO=realdonaldtrump
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '13 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '13 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '12 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '12 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '11 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '11 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '10 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '10 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '9 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '9 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '8 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '8 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '7 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '7 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '6 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '6 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '5 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '5 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '4 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '4 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '3 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '3 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d '2 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d '2 years ago'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;
echo "http://x.com/search?q=from%3A"$WHO"%20since%3A"`date +"%Y" -d 'last year'`"-"`date +"%m" -d 'next day'`"-"`date +"%d"`"%20until%3A"`date +"%Y" -d 'last year'`"-"`date +"%m" -d 'next day'`"-"`date +"%d" -d 'next day'`;


